﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

namespace UtilsORM.MySqlData;

[MySqlCharSet("utf8mb3")]
[MySqlCollation("utf8mb3_general_ci")]
public partial class bs_system_oauth_refresh_token
{
    [Key]
    public long st_autoid { get; set; }

    [StringLength(50)]
    public string st_code { get; set; }

    [StringLength(255)]
    public string st_ticket { get; set; }

    [StringLength(255)]
    public string st_guid { get; set; }

    [StringLength(50)]
    public string st_app_id { get; set; }

    [StringLength(50)]
    public string st_url { get; set; }

    public int? st_status { get; set; }

    [Column(TypeName = "datetime")]
    public DateTime? st_mod_time { get; set; }

    [Column(TypeName = "datetime")]
    public DateTime? st_add_time { get; set; }
}
